home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3parmap.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.8 KB  |  119 lines

  1.  
  2. // JavaScript wrapper for r3parmap.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_PARALLELMAPPING_H = 1;
  7. include("real/objects/r3map.js")
  8.  
  9.  
  10. var R3CLID_PARALLELMAPPING = 515;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3PARMAPA_P0 = 515500;
  19. function SetR3PARMAPA_P0(value) {
  20.   R3Set(this.r3obj, R3PARMAPA_P0, value, R3TID_VECTOR, 0); 
  21. }
  22.  
  23. function GetR3PARMAPA_P0() {
  24.   return R3Get(this.r3obj, R3PARMAPA_P0, R3TID_VECTOR, 0); 
  25. }
  26.  
  27. R3PARMAPA_P1 = 515501;
  28. function SetR3PARMAPA_P1(value) {
  29.   R3Set(this.r3obj, R3PARMAPA_P1, value, R3TID_VECTOR, 0); 
  30. }
  31.  
  32. function GetR3PARMAPA_P1() {
  33.   return R3Get(this.r3obj, R3PARMAPA_P1, R3TID_VECTOR, 0); 
  34. }
  35.  
  36. R3PARMAPA_P2 = 515502;
  37. function SetR3PARMAPA_P2(value) {
  38.   R3Set(this.r3obj, R3PARMAPA_P2, value, R3TID_VECTOR, 0); 
  39. }
  40.  
  41. function GetR3PARMAPA_P2() {
  42.   return R3Get(this.r3obj, R3PARMAPA_P2, R3TID_VECTOR, 0); 
  43. }
  44.  
  45. R3PARMAPA_P3 = 515503;
  46. function SetR3PARMAPA_P3(value) {
  47.   R3Set(this.r3obj, R3PARMAPA_P3, value, R3TID_VECTOR, 0); 
  48. }
  49.  
  50. function GetR3PARMAPA_P3() {
  51.   return R3Get(this.r3obj, R3PARMAPA_P3, R3TID_VECTOR, 0); 
  52. }
  53.  
  54. R3PARMAPA_Width = 515504;
  55. function SetR3PARMAPA_Width(value) {
  56.   R3Set(this.r3obj, R3PARMAPA_Width, value, R3TID_FLOAT, 0); 
  57. }
  58.  
  59. function GetR3PARMAPA_Width() {
  60.   return R3Get(this.r3obj, R3PARMAPA_Width, R3TID_FLOAT, 0); 
  61. }
  62.  
  63. R3PARMAPA_Height = 515505;
  64. function SetR3PARMAPA_Height(value) {
  65.   R3Set(this.r3obj, R3PARMAPA_Height, value, R3TID_FLOAT, 0); 
  66. }
  67.  
  68. function GetR3PARMAPA_Height() {
  69.   return R3Get(this.r3obj, R3PARMAPA_Height, R3TID_FLOAT, 0); 
  70. }
  71.  
  72. R3PARMAPA_Depth = 515506;
  73. function SetR3PARMAPA_Depth(value) {
  74.   R3Set(this.r3obj, R3PARMAPA_Depth, value, R3TID_FLOAT, 0); 
  75. }
  76.  
  77. function GetR3PARMAPA_Depth() {
  78.   return R3Get(this.r3obj, R3PARMAPA_Depth, R3TID_FLOAT, 0); 
  79. }
  80.  
  81. R3PARMAPA_Roll = 515507;
  82. function SetR3PARMAPA_Roll(value) {
  83.   R3Set(this.r3obj, R3PARMAPA_Roll, value, R3TID_INTEGER, 0); 
  84. }
  85.  
  86. function GetR3PARMAPA_Roll() {
  87.   return R3Get(this.r3obj, R3PARMAPA_Roll, R3TID_INTEGER, 0); 
  88. }
  89.  
  90.  
  91.  
  92. function r3Parallelmapping () { 
  93.    this.base = r3God;
  94.    if(arguments.length) {
  95.       this.base(R3CLID_PARALLELMAPPING, arguments);
  96.    }
  97.    // Methods
  98.  
  99.    // Attributes
  100.    this.GetP0=GetR3PARMAPA_P0;
  101.    this.SetP0=SetR3PARMAPA_P0;
  102.    this.GetP1=GetR3PARMAPA_P1;
  103.    this.SetP1=SetR3PARMAPA_P1;
  104.    this.GetP2=GetR3PARMAPA_P2;
  105.    this.SetP2=SetR3PARMAPA_P2;
  106.    this.GetP3=GetR3PARMAPA_P3;
  107.    this.SetP3=SetR3PARMAPA_P3;
  108.    this.GetWidth=GetR3PARMAPA_Width;
  109.    this.SetWidth=SetR3PARMAPA_Width;
  110.    this.GetHeight=GetR3PARMAPA_Height;
  111.    this.SetHeight=SetR3PARMAPA_Height;
  112.    this.GetDepth=GetR3PARMAPA_Depth;
  113.    this.SetDepth=SetR3PARMAPA_Depth;
  114.    this.GetRoll=GetR3PARMAPA_Roll;
  115.    this.SetRoll=SetR3PARMAPA_Roll;
  116. }
  117.  
  118. r3Parallelmapping.prototype=new r3Mapping;
  119. // r3parmap.h_H